//
//  PKBaseButton.swift
//  Panku
//
//  Created by mac on 2017/2/9.
//  Copyright © 2017年 Monster. All rights reserved.
//

import UIKit

class PKBaseButton: UIButton {
    
    class func createButton() -> PKBaseButton{
        
        let button = PKBaseButton(type: .custom)
        
        button.setupButton()
        
        return button
    }
    
    //设置image 和 selectedImage
    func setImage(_ image: UIImage?, selectedImage:UIImage) {
        self.setImage(image, for: .normal)
        self.setImage(selectedImage, for: .selected)
    }
    
    internal func setupButton() -> Void{
        
    }

}
